﻿
namespace EmployeeManager
{
    public partial class CreateNewWorker
    {
        partial void CreateNewWorker_BeforeDataInitialize()
        {
            // Write your code here.
            this.WorkerProperty = new Worker();
        }

        partial void CreateNewWorker_Saved()
        {
            // Write your code here.
            this.Close(false);
            Application.Current.ShowDefaultScreen(this.WorkerProperty);
        }
    }
}